public class YourClass extends Component { // boolean to control the activation of the SUICircularMask of the SUICircularProgressBar public boolean value; // select the value (true or false) from the properties // creates a new SUICircularProgressBar, @AutoWired selects the component from this object @AutoWired private SUICircularProgressBar progressBar; @Override public void start() { } @Override public void repeat() { // sets the activation of the SUICircularMask of the SUICircularProgressBar according to the value of the boolean (true or false) "value" progressBar.setMaskEnabled(value); } }